package com.unytech.project.utils;

import java.util.List;

public class PagingData <T> {
	/**返回的记录数*/
	private List<T> resultlist;
	/** 数据的总记录数 */
	private long totalrecord = 0;
	/** 总页数 */
	private Integer sumpages = 0;
	/** 前台传递过来的当前页 */
	private Integer curpage = 0;
	
	public List<T> getResultlist() {
		return resultlist;
	}
	public void setResultlist(List<T> resultlist) {
		this.resultlist = resultlist;
	}
	public long getTotalrecord() {
		return totalrecord;
	}
	public void setTotalrecord(long totalrecord) {
		this.totalrecord = totalrecord;
	}
	public Integer getSumpages() {
		return sumpages;
	}
	public void setSumpages(Integer sumpages) {
		this.sumpages = sumpages;
	}
	public Integer getCurpage() {
		return curpage;
	}
	public void setCurpage(Integer curpage) {
		this.curpage = curpage;
	}
	
}
